#pragma once
#include "Libraries.h"
#include "CGraphic.h"
#include "CContent.h"
#include "CMouse.h"

class CRo {
private:
	LPDIRECT3DTEXTURE9 img;
public:
	D3DXVECTOR2 position;
	D3DXVECTOR2 speed;
	int width, height;
	RECT rect;
	D3DXVECTOR3 center;
	CRo(void);
	~CRo(void);
	void Init(CContent *content,D3DXVECTOR2 pos,string path);
	void Update(float gameTime,int mouseX);
	void Update(float gameTime,bool flag);
	void Render(CGraphic *graphic);
	void Shutdown();
};